package com.dhcc.DRGsHosp.core.domain;

import java.io.Serializable;

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.openkoala.koala.commons.domain.KoalaLegacyEntity;
@Entity
@Embeddable
@AttributeOverrides({
   @AttributeOverride(name = "mr_id", column = @Column(name = "MR_ID")),
   @AttributeOverride(name = "ver_code", column = @Column(name = "VER_CODE")),
   @AttributeOverride(name = "gr_isicd", column = @Column(name = "GR_ISICD")) 
 })
@Table(name = "T_OTHER_GROUPINGRESULT", schema = "DRGs")
public class OtherGroupingResult extends KoalaLegacyEntity{
	private static final long serialVersionUID = 1L;
	
	public OtherGroupingResult() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Id
	private OtherGroupingLogPrimary pkId;
	
	@Column(name="OPERS_QY")
	private String opersQy;

	@Column(name="OPERS_ADRG")
	private String opersAdrg;
	
	@Column(name="OPER_CODE")
	private String opersCode;

	@Column(name="MDCS_MAIN")
	private String mdcsMain;

	@Column(name="MCC")
	private String mcc;

	@Column(name="DIAGS_CC")
	private String diagsCc;

	@Column(name="CC")
	private String cc;

	@Column(name="ADRGS_SURG")
	private String adrgsSurg;

	@Column(name="ADRGS_PRE")
	private String adrgsPre;

	@Column(name="ADRGS_OPERMAIN")
	private String adrgsOpermain;

	@Column(name="ADRGS_OPER")
	private String adrgsOper;

	@Column(name="ADRGS_MEDI")
	private String adrgsMedi;

	@Column(name="ADRGS_MAIN")
	private String adrgsMain;

	@Column(name="ADRGS_DIAG")
	private String adrgsDiag;

	@Column(name="ERROR")
	private String error;

	@Column(name="ERROR_LOG")
	private String errorLog;
	
	@Column(name="GROUP_LOG")
	private String groupLog;

	public String getOpersQy() {
		return opersQy;
	}

	public void setOpersQy(String opersQy) {
		this.opersQy = opersQy;
	}

	public String getOpersAdrg() {
		return opersAdrg;
	}

	public void setOpersAdrg(String opersAdrg) {
		this.opersAdrg = opersAdrg;
	}

	public String getOpersCode() {
		return opersCode;
	}

	public void setOpersCode(String opersCode) {
		this.opersCode = opersCode;
	}

	public String getMdcsMain() {
		return mdcsMain;
	}

	public void setMdcsMain(String mdcsMain) {
		this.mdcsMain = mdcsMain;
	}

	public String getMcc() {
		return mcc;
	}

	public void setMcc(String mcc) {
		this.mcc = mcc;
	}

	public String getDiagsCc() {
		return diagsCc;
	}

	public void setDiagsCc(String diagsCc) {
		this.diagsCc = diagsCc;
	}

	public String getCc() {
		return cc;
	}

	public void setCc(String cc) {
		this.cc = cc;
	}

	public String getAdrgsSurg() {
		return adrgsSurg;
	}

	public void setAdrgsSurg(String adrgsSurg) {
		this.adrgsSurg = adrgsSurg;
	}

	public String getAdrgsPre() {
		return adrgsPre;
	}

	public void setAdrgsPre(String adrgsPre) {
		this.adrgsPre = adrgsPre;
	}

	public String getAdrgsOpermain() {
		return adrgsOpermain;
	}

	public void setAdrgsOpermain(String adrgsOpermain) {
		this.adrgsOpermain = adrgsOpermain;
	}

	public String getAdrgsOper() {
		return adrgsOper;
	}

	public void setAdrgsOper(String adrgsOper) {
		this.adrgsOper = adrgsOper;
	}

	public String getAdrgsMedi() {
		return adrgsMedi;
	}

	public void setAdrgsMedi(String adrgsMedi) {
		this.adrgsMedi = adrgsMedi;
	}

	public String getAdrgsMain() {
		return adrgsMain;
	}

	public void setAdrgsMain(String adrgsMain) {
		this.adrgsMain = adrgsMain;
	}

	public String getAdrgsDiag() {
		return adrgsDiag;
	}

	public void setAdrgsDiag(String adrgsDiag) {
		this.adrgsDiag = adrgsDiag;
	}

	public String getError() {
		return error;
	}

	public void setError(String error) {
		this.error = error;
	}

	public String getErrorLog() {
		return errorLog;
	}

	public void setErrorLog(String errorLog) {
		this.errorLog = errorLog;
	}

	public String getGroupLog() {
		return groupLog;
	}

	public void setGroupLog(String groupLog) {
		this.groupLog = groupLog;
	}

	public OtherGroupingLogPrimary getPkId() {
		return pkId;
	}

	public void setPkId(OtherGroupingLogPrimary pkId) {
		this.pkId = pkId;
	}

	@Override
	public Serializable getId() {
		// TODO Auto-generated method stub
		return pkId;
	}

	@Override
	public String[] businessKeys() {
		// TODO Auto-generated method stub
		return null;
	}
	
}
